/* ============================================================
   FONTS
   ============================================================ */
@font-face {
  font-family: Nunito-Regular;
  src: url(fonts/Nunito-Regular.ttf);
}
@font-face {
  font-family: Nunito-Bold;
  src: url(fonts/Nunito-Bold.ttf);
}
@font-face {
  font-family: Montserrat-Bold;
  src: url(fonts/Montserrat-Bold.ttf);
}

/* ============================================================
   GLOBAL RESET
   ============================================================ */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* ============================================================
   BASE
   ============================================================ */
body {
  background-color: white;
  font-family: nav-arrow, Nunito-Regular, Arial, NotoSansCHI, NotoSansJP, sans-serif;
  margin: 0;
}
body button { font-family: Nunito-Regular, Arial, sans-serif; }
h1, h2, h3  { font-family: Montserrat-Bold, Arial, sans-serif; }
h4, h5, h6  { font-family: Montserrat-Bold, Arial, sans-serif; }
b           { font-family: Nunito-Bold, Arial, sans-serif; }

@media screen and (max-width: 350px) {
  h1, h2, h3 { font-size: large; }
  h4, h5, h6 { font-size: small; }
  body        { font-size: small; }
}

hr {
  width: 50%;
  opacity: 50%;
}

img {
  -webkit-user-drag: none;
  -moz-user-select: none;
       user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.linkhover:hover {
  opacity: 80%;
}

.btn {
  background-color: white;
  color: black;
  border-radius: 3px;
  padding: 20px;
  margin: 10px;
  font-family: Montserrat-Bold, Arial, sans-serif;
}

.btn-black {
  background-color: black;
  color: white;
  border-radius: 3px;
  padding: 20px;
  margin: 10px;
  font-family: Montserrat-Bold, Arial, sans-serif;
}

.section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5vw 5vw;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  display: block;
  background-color: black;
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}

.header-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 15px 16px;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  /* Required to anchor the absolutely-positioned lang button */
  position: relative;
}

#headerlogo {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}

#headerlogo img {
  width: 80px;
}

/* ============================================================
   HERO / COVER
   ============================================================ */
#hero {
  background-color: #a87332;
}

#heroimg {
  width: 30%;
  min-width: 200px;
}

/* ============================================================
   ANNOUNCEMENT
   ============================================================ */
#announcementSec {
  background-color: black;
  color: white;
  padding: 50px 0px;
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery { 
  background-color: #cccccc; 
}

.galleryContainer {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto auto;
      grid-template-columns: auto auto auto;
  grid-gap: 10px;
      gap: 10px;
  padding: 5vw;
}

.galleryThumbnail {
  -webkit-transition: 0.2s;
          transition: 0.2s;
  outline: 1px solid #ddd;
  max-width: 100%;
  border-radius: 20px;
}

.galleryThumbnail:hover {
  -webkit-filter: brightness(95%);
          filter: brightness(95%);
  -webkit-transform: scale(1.02);
      -ms-transform: scale(1.02);
          transform: scale(1.02);
}

/* ============================================================
   SECTIONS
   ============================================================ */
#SystemInfoSec  { background-color: #a87332; }
#PermissionInfoSec { background-color: white; }
#FeedbackSec    { background-color: black; color: white; }
#credit         { background-color: #a87332; }
#DonateSec      { background-color: white; }
#SampleSec      { background-color: black; color: white; }
#LogSec         { background-color: white; }
#PrivacyInfoSec { background-color: #cccccc; }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  width: 100%;
  display: block;
  text-align: center;
  font-size: xx-small;
  padding: 20px 0px;
  background-color: black;
  color: white;
}
